#!/bin/bash
#
#dev:enCEE
#
#vars
#functions
arch_format()
{
	for(( x = 0; x < 1;))
			do
			case $selection in
			
				1)
					cfdisk /dev/sda
				;;
				2)
					gdisk /dev/sda
				;;
				"Help" | "help" | "H" | "h" )
					$sys_scripts_dir/arch_help
				;;
				"Quit" | "quit" | "Q" | "q" )
					$sys_scripts/arch_menu
				;;	
				*)
					echo "Invalid Response"
					echo "Please select an option from above"
					read selection
				;;
			esac
		done
}
#script
clear
echo "-------------------------------------------"
echo "-      Arch Partition Configuration       -"
echo "-                                         -"
echo "-        For help type 'Help'             -"
echo "-                                         -"
echo "-      Please select an option below      -"
echo "-------------------------------------------"
echo "-                                         -"
echo "-                                         -"
echo "-1) Use a MBT partition                   -"
echo "-2) Use a GPT partition                   -"
echo "-                                         -"
echo "-[H]elp -Open help document 							-"
echo "-[Q]uit -Quit and return to the main menu -"
echo "-------------------------------------------"
echo "What is your selection?"
read selection
arch_format
#end
#end
